'''
Created on Feb 13, 2014

@author: yfrank
'''

import Transport.Peer as Peer

import Transport.Channel as Channel

import CodingUtils.Geometry as Geometry

import Robotics.RoboticsPeerStateMachine as RoboticsPeerStateMacine

class RoboticsPeer(Peer.Peer):
    '''
    classdocs
    '''
    def __init__(self,host):

        ch = Channel.Channel(host)
        sm = RoboticsPeerStateMacine.RoboticsPeerStateMacine(self)
        super(RoboticsPeer,self).__init__(ch,sm)
        self.path = []

    def parse_path(self,buff):
        f = open('files\\path_opt.txt','w+')
        f.write(buff)
        f.close()
        return True

